<?php

/*
 * Copyright (C) 2014 University of Pittsburgh
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

require_once('HTMLSelect.inc');
require_once('StaticFunctions.inc');

class NodeSelect extends HTMLSelect{
  
  public function __construct() {
    parent::__construct();
    $this->key_val_map = self::$node_map;
  }

  private static $node_map = array(
    0 => '--- SELECT ---',
    1 => 'Administrative Agency',
    2 => 'Civic Organization',
    3 => 'Community Health Center',
    4 => 'Correctional Institution',
    5 => 'Department Of Agriculture',
    6 => 'Department Of Environmental Protection',
    7 => 'Department Of Transportation',
    8 => 'Doctor',
    9 => 'Emergency Management Agency',
    11 => 'Emergency Medical Service',
    12 => 'Employer/Business',
    13 => 'Faith Institution',
    14 => 'Fire Department',
    15 => 'Governmental Public Health Agency',
    16 => 'Home Health Care',
    17 => 'Hospital',
    27 => 'Indian Tribe',
    18 => 'Laboratory',
    19 => 'Law Enforcement',
    20 => 'Long Term Care Facility',
    21 => 'Mental Health Service',
    28 => 'Other',
    22 => 'Public',
    23 => 'School',
    24 => 'Senior Elected Offical At The Local, State, And Federal Levels',
    25 => 'Specialized Planning Or Response Team',
    26 => 'Transit'
  );
  
}